import { Field, Int, ObjectType } from '@nestjs/graphql';

@ObjectType('Answer')
export class Answer {
  @Field(() => Int)
  _id: number;

  @Field()
  userId: string;

  @Field()
  content: string;
}
